<%@ taglib uri="http://displaytag.sf.net" prefix="d" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<%@taglib uri="/struts-tags" prefix="s" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script >


 

function submit(selectElem){
	 var elems=selectElem.options[selectElem.selectedIndex].value;
	 alert("coucou");
    window.location ="http://localhost:8080/GsAbsence/ListEtd?marquer="+elems;
  
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="/GsAbsence/css/displaytag.css"
type="text/css" media="screen,projection,print"/>

<sx:head debug="true" cache="false" compressed="false"/>

<title>marquer Absence</title>
</head>
<body>

<d:table name="etdAbs" id="l" requestURI="/marquerAbs" decorator="com.ensah.web.actions.Decorator">
<d:column  title="Nom" value="${l.e.nom}" />
<d:column  title="Prenom" value="${l.e.prenom}" />


<d:column media="html" headerClass="empty"  title="marquer absence" >

<s:form method="post"  >

<input type="checkbox" value="${l.justifier}" onchange="submit(this)"/>
</s:form>
</d:column>
<d:column media="html" headerClass="empty"  title="dateAbsence" >
<s:form method="post" >

<sx:datetimepicker name="dateAbs" label="Date Absence" onchange="submit(this)" />
</s:form>
</d:column>
<d:column media="html" headerClass="empty"  title="dateAbsence" >
<s:form method="post"  >

<s:select list="{'s1','s2','s3','s4'}"></s:select>
</s:form>
</d:column>
<d:column  title="" property="deletLink"/>
</d:table>
<s:form action="marquerAbs">
<s:submit value="enregistrer"></s:submit>

</s:form>
</body>
</html>